Return array instead of json encoded string on internal error occurred.