JSON answer has to be sent heaven if result is empty