json: Return objects::Null in case of error.