firebase-resource doesn't work when setting values to null