@Nullable
  public FlipperObject toFlipperObject(@Nullable ImageRequest imageRequest) {
    if (imageRequest == null) {
      return null;
    }
    FlipperObject.Builder optionsJson = new FlipperObject.Builder();
    return addImageRequestProperties(optionsJson, imageRequest).build();
  }
Serialization helper to create {@link FlipperObject}s.
tools/flipper-fresco-plugin/src/main/java/com/facebook/flipper/plugins/fresco/objecthelper/FlipperObjectHelper.java