added check to distinguish between JSONObject and String
Merge branch 'develop' of https://github.com/Deutsche-Digitale-Bibliothek/ddb-next into develop