Minor change in Constants.java

Minor change in Constants.java so that the returned JSON matches the
rest JSON responses (when success : false)