JSON error message, handle no input better