Allow empty string for json requests