Cannot preserve reference to array or readonly list, or list created from a non-default constructor: System.Type[]. Path '$values', line 1, position 22

I am having Hangfire setup to do the refresh operation from background. Once I started the service, it is working fine from the Hnagfire dashboard but it is getting failed, when i am triggering from the code with following error. After this error, no success is coming even if auto trigger happening from hangfire dashboard.

Cannot preserve reference to array or readonly list, or list created from a non-default constructor: System.Type[]. Path '$values', line 1, position 22.

When Auto trigger happening initially, the invocation data in DB is {"Type":"Brain.Core.Helpers.SchedulerTaskHelper, Brain.Core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null","Method":"RefreshReportViews","ParameterTypes":"[]","Arguments":"[]"}
but when i am triggering job from the code, the invocation data in DB is
{"$id":"1","Type":"Brain.Core.Helpers.SchedulerTaskHelper, Brain.Core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null","Method":"RefreshReportViews","ParameterTypes":"{\"$id\":\"1\",\"$values\":[]}","Arguments":"{\"$id\":\"1\",\"$values\":[]}"}

Why "$id":"1" these values are coming?

Please help me out.