add custom json decoder
@method is now required for custom method