Error: json_decode(): Argument #1 ($json) must be of type string, stdClass given: Class "Alledia\OSMap\Factory" not found