Added exception handling - result as json