Conforming to Android org.json