Fix bug that ignored custom json prefix

Issue: SPR-10817