make json deserialization from db apply base64 decoding to binary data as well