fixed potential dataaccessexception fail
only json in the integration tests too