Hello and thank you for your question. If you look at the REST API you reference, there's the following "replicaOptions":
//(bit 0): Includes annotation features
{"syncDataOptions": 1}
//(bit 1): Includes dimension feature layers
{"syncDataOptions": 2}
//(bit 2): Includes contingent values
{"syncDataOptions": 4}
For ease-of-use, these options are called out explicitly as properties in the GenerateGeodatabaseParameters object:
@property (nonatomic, assign, readwrite) BOOL shouldSyncDimensions;
@property (nonatomic, assign, readwrite) BOOL shouldSyncContingentValues;
@property (nonatomic, assign, readwrite) BOOL shouldSyncAnnotations;
The default value for those there properties are `YES`. From your post,'replicaOptions': '{ "syncDataOptions": 5 }' indicates that `shouldSyncAnnotations` and `shouldSyncContingentValues` are set to `YES`, as the "5" is the bitwise-Or of those two properties (as specified in the REST API)
Setting those values to "NO" should give you the result you want.
If you still encounter problems, please let us know. Also, what specific problems are you encountering.
Thank you!
Mark