Added support to play-json with basic error handling.