As it turns out, the problem lies in the adapter returnedContentType
setting. The version on my colleague has a value 'plain' while the actual one should be 'json'
Many thanks to @Anton as it was his answer that pointed me to the correct direction.