converting the imageUrl to JSON so it can render properly"